/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.lanchimage;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.lanchimage.LanchImage;
import com.server.modules.sys.dao.lanchimage.LanchImageDao;

/**
 * 启动页图片管理Service
 * @author 王磊
 * @version 2016-09-05
 */
@Service
@Transactional(readOnly = true)
public class LanchImageService extends CrudService<LanchImageDao, LanchImage> {

	public LanchImage get(String id) {
		return super.get(id);
	}
	
	public List<LanchImage> findList(LanchImage lanchImage) {
		return super.findList(lanchImage);
	}
	
	public Page<LanchImage> findPage(Page<LanchImage> page, LanchImage lanchImage) {
		return super.findPage(page, lanchImage);
	}

	public LanchImage findOneLanchImage(){
		return  dao.findOneLanchImage();
	}
	
	@Transactional(readOnly = false)
	public void save(LanchImage lanchImage) {
		super.save(lanchImage);
	}
	
	@Transactional(readOnly = false)
	public void delete(LanchImage lanchImage) {
		super.delete(lanchImage);
	}
	
}